package com.vf.admin.client.service.impl;

import com.vf.admin.client.dao.AppHeadwearDao;
import com.vf.admin.client.service.AppHeadwearService;
import com.vf.admin.common.splitpage.SplitPageBean;
import com.vf.admin.miaodong.entity.AppHeadwear;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class AppHeadwearServiceImpl implements AppHeadwearService {
    @Autowired
    private AppHeadwearDao appHeadwearDao;

    @Override
    public List<AppHeadwear> shopList(SplitPageBean splitPage) {
        return appHeadwearDao.shopList(splitPage);
    }

    @Override
    public List<AppHeadwear> findList() {
        return appHeadwearDao.findList();
    }

    @Override
    public AppHeadwear get(Integer id) {
        return appHeadwearDao.get(id);
    }

    @Override
    public void save(AppHeadwear haoYou) {
        appHeadwearDao.save(haoYou);
    }

    @Override
    public void del(Integer id) {
        appHeadwearDao.del(id);
    }

}
